package cn.shengchao.examstar.rpc.wecom.api;

import cn.shengchao.examstar.rpc.base.PageResult;
import cn.shengchao.examstar.rpc.base.TransResult;
import cn.shengchao.examstar.rpc.wecom.dto.CpUserInviteSaveDto;
import cn.shengchao.examstar.rpc.wecom.dto.CpUserServiceInviteDto;
import cn.shengchao.examstar.rpc.wecom.req.CpUserInviteJmsYgChangeRto;
import cn.shengchao.examstar.rpc.wecom.req.CpUserInvitePageQuery;
import cn.shengchao.examstar.rpc.wecom.resp.CpUserCustomerVo;

/**
 * @program: examstarapi
 * @description: 用户企微邀请关系
 * @author: Xiong weiqiang
 * @create: 2025-05-01 10:49
 */
public interface CpUserServiceInviteApi {

    void createUserServiceInviteRecord(CpUserServiceInviteDto cpUserServiceInviteDto);

    PageResult<CpUserCustomerVo> queryCpUserInvitePage(CpUserInvitePageQuery pageQuery);

    TransResult<String> updateUserInviteRecord(CpUserInviteSaveDto saveRto);

    TransResult<String> batchUpdateUserInviteRecordForJmsYg(CpUserInviteJmsYgChangeRto jmsYgRto);
}